<script>
import { useSettingStore } from '@/stores/index'

export default {
  onLaunch: function() {
    console.log('App Launch')
    // 初始化设置
    const settingStore = useSettingStore()
    settingStore.initSetting()
  },
  onShow: function() {
    console.log('App Show')
  },
  onHide: function() {
    console.log('App Hide')
  }
}
</script>

<style lang="scss">
/* 每个页面公共css */
@import '@/static/css/main.scss';

/* 全局样式 */
page {
  background-color: #03050C;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

/* flex布局工具类 */
.d-flex {
  display: flex;
}

.jc-center {
  justify-content: center;
}

.ai-center {
  align-items: center;
}

/* 通用工具类 */
.text-center {
  text-align: center;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}
</style>
